﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<PoserLoot.Web.Models.Category>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Category.Edit
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="gridTopic" class="topic">
        <h2>
            Category.Edit</h2>
    </div>
    <%= Html.ValidationSummary("Edit was unsuccessful. Please correct the errors and try again.") %>
    <% using (Html.BeginForm())
       {%>
    <fieldset>
        <p>
            <label for="Appellation">
                Appellation:</label>
            <%= Html.TextBox("Appellation", Model.Appellation) %>
            <%= Html.ValidationMessage("Appellation", "*") %>
        </p>
        <p>
            <input type="submit" value="Save" />
            <%= Html.ActionLink("[Delete]", "Delete", new { id = Model.CategoryId })%>
        </p>
    </fieldset>
    <% } %>
</asp:Content>
